From: Colin Walters Date: Thu, 13 Aug 2009 15:31:53 +0000 (-0400) Subject: Bug 591590 - Fix some applications not appearing in menu X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11083 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=557f9ceb97bde57fa3715c4a91cfd4982f3402d1;p=gnome-shell.git Bug 591590 - Fix some applications not appearing in menu Use the correct address for the entry, instead of treating the ShellAppInfo pointer as one. --- diff --git a/src/shell-app-system.c b/src/shell-app-system.c index d415f188c..d4ee4cbc6 100644 --- a/src/shell-app-system.c +++ b/src/shell-app-system.c @@ -848,7 +848,7 @@ shell_app_info_get_is_nodisplay (ShellAppInfo *info) switch (info->type) { case SHELL_APP_INFO_TYPE_ENTRY: - return gmenu_tree_entry_get_is_nodisplay ((GMenuTreeEntry*)info); + return gmenu_tree_entry_get_is_nodisplay ((GMenuTreeEntry*)info->entry); case SHELL_APP_INFO_TYPE_DESKTOP_FILE: return FALSE; }